package com.example.springboot.pojo;

import java.io.Serializable;

public class Equipment implements Serializable {
    private int id;
    private String name;
    private String state;
    private int workOrder_num;
    private int workshop_id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getWorkOrder_num() {
        return workOrder_num;
    }

    public void setWorkOrder_num(int workOrder_num) {
        this.workOrder_num = workOrder_num;
    }

    public int getWorkshop_id() {
        return workshop_id;
    }

    public void setWorkshop_id(int workshop_id) {
        this.workshop_id = workshop_id;
    }

    @Override
    public String toString() {
        return "Equipment{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", state='" + state + '\'' +
                ", workOrder_num=" + workOrder_num +
                ", workshop_id=" + workshop_id +
                '}';
    }
}
